package com.rgsx.entiy;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//位置实体类
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Position implements Serializable {
    private String positionLatitude;
    private String positionLongitude;

    public Position(double x, double y) {
        this.positionLatitude = String.valueOf(x);
        this.positionLongitude = String.valueOf(y);
    }
}
